CFLAGS=/nologo /W3 /GS- /GR- /Gy- /Oi- /O1 /c /Fobuild\ 
LDFLAGS=/nologo /nodefaultlib /incremental:no /safeseh:no /subsystem:console,5.01 /merge:.rdata=.text /EMITPOGOPHASEINFO /stub:build\t /align:16 kernel32.lib user32.lib Ws2_32.lib

all: bin\client.exe


{build}.obj{bin}.exe:
    link $(LDFLAGS) /OUT:$@ $<

{src}.c{build}.obj:
    cl $(CFLAGS) $<

bin\client.exe:build\client.obj build\t

build\t:
    @echo MZ............................................................> build\t

.PHONY: all clean

clean:
    @del /s /q build\*

dist-clean:
    @del /s /q build\* bin\*